'use strict';
/**
 * rest controller
 * @type {Class}
 */
export default class extends think.controller.rest {
    /**
     * init
     * @param  {Object} http []
     * @return {}      []
     */
    init(http) {
            super.init(http);
        }
        /**
         * before magic method
         * @return {Promise} []
         */
    __before() {

    }

    __call() {
        return this.fail(think.locale('ACTION_INVALID', this.http.action, this.http.url));
    }

}
